import http from '@/utils/http2'

export function queryAllStores(){
    return http.get('/wareAndLoc/queryAllStores')
}

export function queryUserByStoreId(storeId){
    return http.get(`/queryUserByStoreId?storeId=${storeId}`)
}

export function queryProductsByStoreId(params){
    return http.get('/queryProductsByStoreId',params)
}

export function queryCommodityByStoreId(params){
    return http.get('/queryCommodityByStoreId',params)
}

export function AddStkByGoods(params){
    return http.post('/AddStkByGoods',params)
}